package com.zhj.user.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel("用户注册实体类")
public class UserRegisterDTO extends UserDTO {

    @ApiModelProperty(value = "确认密码", name = "confirmPassword", example = "123456", required = true)
    @NotEmpty(message = "确认密码不能为空")
    private String confirmPassword;

}
